package com.whfp.coky.db.dao;

import com.raizlabs.android.dbflow.annotation.Column;
import com.raizlabs.android.dbflow.annotation.PrimaryKey;
import com.raizlabs.android.dbflow.annotation.Table;
import com.raizlabs.android.dbflow.structure.BaseModel;
import com.whfp.coky.db.dbflow.AppDatabase;

/**
 * 检测结果表
 */
@Table(database = AppDatabase.class)
public class TestingRecordingDao extends BaseModel {
    //自增主键
    @PrimaryKey(autoincrement = true)
    private int id;
    //姓名
    @Column
    private String name;
    //性别
    @Column
    private String sex;
    //身份证号
    @Column
    private String id_card;
    //流水号
    @Column
    private String serialNumber;
    //检测时间
    @Column
    private String testingTime;
    //检测项目
    @Column
    private String testingProject;
    //检测条码
    @Column
    private String barCode;
    //样本类型
    @Column
    private String yblx;
    //定位地点
    @Column
    private String testLocation = "";
    //定位经度
    @Column
    private String testLocationX = "";
    //定位纬度
    @Column
    private String testLocationY = "";
    //操作人用户名
    @Column
    private String testUserId;
    //检测结果的json字符串
    @Column
    private String testingResultJson;
    //文字备注
    @Column
    private String remark = "";
    //照片附件的手机本地路径地址，有多个会用逗号隔开
    @Column
    private String filesPath = "";
    //破冰2MAC地址
    @Column
    private String pb2Mac = "";
    //是否已上传
    @Column
    private boolean isUpload = false;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getId_card() {
        return id_card;
    }

    public void setId_card(String id_card) {
        this.id_card = id_card;
    }

    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }

    public String getTestingTime() {
        return testingTime;
    }

    public void setTestingTime(String testingTime) {
        this.testingTime = testingTime;
    }

    public String getTestingProject() {
        return testingProject;
    }

    public void setTestingProject(String testingProject) {
        this.testingProject = testingProject;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public String getYblx() {
        return yblx;
    }

    public void setYblx(String yblx) {
        this.yblx = yblx;
    }

    public String getTestLocation() {
        return testLocation;
    }

    public void setTestLocation(String testLocation) {
        this.testLocation = testLocation;
    }

    public String getTestLocationX() {
        return testLocationX;
    }

    public void setTestLocationX(String testLocationX) {
        this.testLocationX = testLocationX;
    }

    public String getTestLocationY() {
        return testLocationY;
    }

    public void setTestLocationY(String testLocationY) {
        this.testLocationY = testLocationY;
    }

    public String getTestUserId() {
        return testUserId;
    }

    public void setTestUserId(String testUserId) {
        this.testUserId = testUserId;
    }

    public String getTestingResultJson() {
        return testingResultJson;
    }

    public void setTestingResultJson(String testingResultJson) {
        this.testingResultJson = testingResultJson;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getFilesPath() {
        return filesPath;
    }

    public void setFilesPath(String filesPath) {
        this.filesPath = filesPath;
    }

    public String getPb2Mac() {
        return pb2Mac;
    }

    public void setPb2Mac(String pb2Mac) {
        this.pb2Mac = pb2Mac;
    }


    public boolean isUpload() {
        return isUpload;
    }

    public void setUpload(boolean upload) {
        isUpload = upload;
    }
}
